@import '../../_config';
@import '../../_utils';
@import '../_bits/_header';

.section-title {
    @extend %h1;
    @extend %h1_section-title;
}

.page-title {
    @extend %h1;
}

.page-content {
    position: relative;
    margin-top: 0;

    @media print {
        page-break-after: always
    }

    @at-root .os_linux.ua_chrome & {
        margin-left: -1px;
    }

    // Page link to GitHub
    @import '../page-link-to-github/page-link-to-github';

    .page-link-to-github {
        float: right;
        top: 4px;
    }

    a {
        @media print {
            color: $base-link-color !important;
        }
    }

    // Page elements
    @import '../_page-content/_page-content';

    .api-docs-table {
        border: 1px solid #dcdcdc;
    }

    .api-docs-table p:last-child,
    .api-docs-table pre:last-child {
        margin-bottom: 0;
    }

    .api-docs-breadcrumbs {
        margin-bottom: 25px;
    }

    //404
    .g-container {
        margin-right: auto;
        margin-left: auto;
        padding-right: 30px;
        padding-left: 30px;
    }
    .beam {
        position: absolute;
        z-index: -1;
        top: -150%;
        left: -150%;
        width: 1000px;
        height: 1050px;
        background: url("../layout/images/icon_error_beam.svg") no-repeat 0 0;
    }

    .g-row {
        display: flex;
    }

    .article-content {
        padding-left: 40px;

        .page-error__h1 {
            font-weight: bold;
            font-size: 50px;
        }

        .page-error__sub-title {
            font-size: 24px;
            margin-bottom: 30px;
        }

        .page-error__text {
            font-size: 16px;
        }
    }

    .page-error-logo {
        position: relative;
        box-sizing: border-box;
        background: no-repeat 50% 50%;
        background-size: 100%;
    }

    ._error-404 {
        width: 355px;
        height: 262px;
        background-image: url("../layout/images/mascot-404.svg");
    }
}
